package com.mes.cloud.api.dto.request.area;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 行政区划表
 *
 * @author xy
 * @email 407892370@qq.com
 * @version 2019-08-01 19:04:28
 */
@Data
public class BaseAreaListRequest implements Serializable{
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键ID", required = true)
    @NotNull(message = "id不能为空")
    private String id;

    @ApiModelProperty(value = "上级行政区id", required = true)
    @NotNull(message = "parentId不能为空")
    private String parentId;

}
